import { Injectable } from '@nestjs/common';
import { AuthGuard } from '@nestjs/passport';

// LocalAuthGuard 继承自 @nestjs/passport.AuthGuard('local') ，意味着它会去找注册了 `passport` 中的 'passport-local' 方法
@Injectable()
export class LocalAuthGuard extends AuthGuard('local') {}
